package com.lry.crawlers.video.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("video")
public class Video {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String title;
    private String descs;
    private String cover;
    private String author;
    private String videoType;
    private String videoId;
    private String updateTime;
    private Date creationTime;
    private Integer videoVariableId;


    public Video(String videoId, String updateTime){
        this.videoId = videoId;
        this.updateTime = updateTime;
    }

}
